Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update XmlFileErrorLog.cs #412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nbulusanjr
Copy link

Add Application name on xml file log

Add Application name on xml file log
@ThomasArdal
Copy link
Contributor

@atifaziz Same comment as in the other pull request 😄

Copy link
Member

@atifaziz atifaziz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should at least compile.


string appName = config.Find("applicationName", string.Empty);

if (appName.Length > _maxAppNameLength)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XmlFileErrorLog.cs(79,34): error CS0103: The name '_maxAppNameLength' does not exist in the current context [A:\ELMAH\git\src\Elmah\Elmah.csproj]

{
throw new ApplicationException(string.Format(
"Application name is too long. Maximum length allowed is {0} characters.",
_maxAppNameLength.ToString("N0")));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XmlFileErrorLog.cs(83,21): error CS0103: The name '_maxAppNameLength' does not exist in the current context [A:\ELMAH\git\src\Elmah\Elmah.csproj]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants